From: Ray Strode Date: Mon, 29 Jul 2013 14:52:02 +0000 (-0400) Subject: util: clear user verifier after cancelling it X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3833 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=45ba07c2147526699ac0868628a1d8c090e83780;p=gnome-shell.git util: clear user verifier after cancelling it If we don't clear it, then the connection to gdm will remain open. https://bugzilla.gnome.org/show_bug.cgi?id=683437 --- diff --git a/js/gdm/util.js b/js/gdm/util.js index 1facf9881..9557c66a0 100644 --- a/js/gdm/util.js +++ b/js/gdm/util.js @@ -148,8 +148,10 @@ const ShellUserVerifier = new Lang.Class({ if (this._cancellable) this._cancellable.cancel(); - if (this._userVerifier) + if (this._userVerifier) { this._userVerifier.call_cancel_sync(null); + this.clear(); + } }, clear: function() {